home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 September / PCWSEP07.iso / Software / Linux / Linux Mint 3.0 Light / LinuxMint-3.0-Light.iso / casper / filesystem.squashfs / var / lib / dpkg / info / gedit.prerm < prev    next >
Encoding:
Text File  |  2007-04-10  |  719 b   |  34 lines

  1. #! /bin/sh
  2.  
  3. set -e
  4.  
  5. case "$1" in
  6.     remove|deconfigure)
  7.         # unregister gedit as a gnome-text-editor in the alternatives system
  8.         update-alternatives --remove gnome-text-editor /usr/bin/gedit || true
  9.     ;;
  10.  
  11.     failed-upgrade|upgrade)
  12.     ;;
  13.  
  14.     *)
  15.         echo "prerm called with unknown argument \`$1'" >&2
  16.         exit 0
  17.     ;;
  18. esac
  19.  
  20. # Automatically added by dh_gconf
  21. if [ "$1" = remove ] || [ "$1" = upgrade ]; then
  22.     gconf-schemas --unregister gedit-file-browser.schemas gedit.schemas 
  23. fi
  24. # End automatically added section
  25. # Automatically added by dh_pysupport
  26. if which update-python-modules >/dev/null 2>&1; then
  27.     update-python-modules -c -b gedit.dirs
  28. fi
  29. # End automatically added section
  30.  
  31.  
  32. exit 0
  33.  
  34.